GetMidiOutNameByDeviceId
Name$ = GetMidiOutNameByDeviceId(DeviceId)
 
Parameters:

    DeviceId = Windows DeviceId
Returns:

    Name$ = Device name
 

GetMidiOutNameByDeviceId returns the Windows device name of a specified DeviceId. This is useful if you want to list all available MidiOut devices by name.


Example:

  
; Get the number of MidiOut devices
  count = GetMidiOutDeviceCount()
  
  For i = 0 To count - 1
   ; list the names of all MidiOut devices
     Print GetMidiOutNameByDeviceId(i)
  Next i
  Sync
  WaitKey
  




 
Related Info: GetMidiOutDeviceCount :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com